<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
    <head>
    	<base href="<%=basePath%>">		
		<meta charset="utf-8" />
		<title></title>
		<meta name="description" content="overview & stats" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<link href="static/css/bootstrap-responsive.min.css" rel="stylesheet" />
	    <link rel="stylesheet" href="static/css/common.css">
	    <link rel="stylesheet" href="static/css/bootstrap.css">
	    <link rel="stylesheet" href="static/css/font-awesome-4.7.css">
	    <link rel="stylesheet" href="static/css/hzxx.css">
	    <script src="static/js/jquery-1.11.3.js"></script>
	    <script src="static/js/bootstrap.js"></script>
	    <script src="static/laydate/laydate.js"></script>
	    <link rel="stylesheet" href="static/css/ypgl.css">
	    <script type="text/javascript" src="static/js/jquery.tips.js"></script>
	</head>

<body>
    <div class="container-fluid" id="zhongxin">
        <div class="row">
            <!-- 药品出入库信息展示页面 -->            
            <div class="title-box">
                    <div class="col-sm-12 col-md-12 col-lg-12 title">
                        <p style="width:100%;">药品出库详细信息</p>
                    </div>
                </div>
            <div class="col-sm-12 col-md-12 col-lg-12 main">
                <!-- 单号、药品id、 -->                                
                <div class="r1">                    
                    <div class="col-sm-2 col-md-2 col-lg-2 lf left ">
                        <span class="tip">单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</span>
                    </div>
                    <div class="col-sm-10 col-md-10 col-lg-10 lf box">
                        <span class="dh">${inandout.code}</span>
                    </div>
                </div>
                <!-- 药品编码、药品拼音码、药品类型、 -->
                <div class="r2">
                    <div class="col-sm-2 col-md-2 col-lg-2 lf left ">
                        <span class="tip">药品编码：</span>
                    </div>
                    <div class="col-sm-2 col-md-2 col-lg-2 lf box">
                        <span class="ypbm">${inandout.ypCode}</span>
                    </div>
                    <div class="col-sm-2 col-md-2 col-lg-2 lf left ">
                        <span class="tip">药品名称：</span>
                    </div>
                    <div class="col-sm-2 col-md-2 col-lg-2 lf box">
                        <span class="ypbm">${inandout.ypName}</span>
                    </div>
                    <div class="col-sm-2 col-md-2 col-lg-2 lf left ">
                        <span class="tip">药品类型：</span>
                    </div>
                    <div class="col-sm-2 col-md-2 col-lg-2 lf box">
                        <span class="yplx">${inandout.ypType}</span>
                    </div>
                </div>
                <!-- 药品单位、药品用法、药品单价、 -->
                <div class="r3">
                    <div class="col-sm-2 col-md-2 col-lg-2 lf left ">
                        <span class="tip">药品单价：</span>
                    </div>
                    <div class="col-sm-2 col-md-2 col-lg-2 lf box">
                        <span class="yplx">${inandout.price}</span>
                    </div>
                    <div class="col-sm-2 col-md-2 col-lg-2 lf left ">
                        <span class="tip">药品单位：</span>
                    </div>
                    <div class="col-sm-6 col-md-6 col-lg-6 lf box">
                        <span class="ypdw">${inandout.ypUnit}</span>
                    </div>
                </div>
                <div class="r7">                    
                    <div class="col-sm-2 col-md-2 col-lg-2 lf left ">
                        <span class="tip">药品用法：</span>
                    </div>
                    <div class="col-sm-10 col-md-10 col-lg-10 lf box ypyf">
                        <textarea row="4" col="3" readonly class="pym" id="ypyf"></textarea>
                    </div>
                </div>
                <!-- 药品数量、门诊id -->
                <div class="r4">
                    <div class="col-sm-2 col-md-2 col-lg-2 lf left ">
                        <span class="tip">出库数量：</span>
                    </div>
                    <div class="col-sm-2 col-md-2 col-lg-2 lf box">
                        <span class="ypdw">${inandout.inCount}</span>
                    </div>
                    <%-- <div class="col-sm-2 col-md-2 col-lg-2 lf left ">
                        <span class="tip">门诊名称：</span>
                    </div>
                    <div class="col-sm-2 col-md-2 col-lg-2 lf box">
                        <span class="ypdw">${inandout.ypunit}</span>
                    </div> --%>              
                    <div class="col-sm-2 col-md-2 col-lg-2 rt left ">
                        <span class="tip">出库时间：</span>
                    </div>
                    <div class="col-sm-2 col-md-2 col-lg-2 rt box">
                        <span class="ypid">${inDate}</span>
                    </div>
                </div>
                <div class="r6">                    
                    <div class="col-sm-offset-8 col-sm-2 col-md-offset-8 col-md-2 col-lg-offset-8 col-lg-2 lf left ">
                        <span class="tip">出库操作员：</span>
                    </div>
                    <div class="col-sm-2 col-md-2 col-lg-2 lf box">
                        <span class="dh">${userName}</span>
                    </div>  
                </div>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript">
document.getElementById("ypyf").value="${inandout.ypUsage}";
$(top.hangge());
</script>
</html>